/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package app.modelo;

import java.util.ArrayList;

/**
 *
 * @author Lain
 */
public class Fila {
    private ArrayList listaValores;

    public Fila() {
        listaValores = new ArrayList();
    }
    
    public void agregarValor(Object valor){
        listaValores.add(valor);
    }
    
    public Object obtenerValor(int indice){
        return listaValores.get(indice);    
    }
    
    public void actualizarValor(int indice, Object valor){
        listaValores.set(indice, valor);
    }
}
